﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiTong.PhoneBook.Persons
{
    /// <summary>
    /// 联系人
    /// </summary>
    public  class Person: FullAuditedEntity<long>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [Required]
        [MaxLength(60)]
        public virtual string Name { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [MaxLength(60)]
        [EmailAddress]
        public virtual string EmialAddress { get; set; }
    }
}
